﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Bombardiman
{
    public class GameObject
    {
        private Texture2D texture;
        private Vector2 position;
        private bool active;
        private int width;
        private int height;

        public GameObject()
        {}

        public void Initialize(Texture2D texture, Vector2 position, bool active, int width, int height)
        {
            this.texture = texture;
            this.position = position;
            this.active = active;
            this.width = width;
            this.height = height;
        }

        public Texture2D getTexture()
        {
            return texture;
        }
        public Vector2 getPosition()
        {
            return position;
        }
        public int getWidth()
        {
            return width;
        }
        public int getHeight()
        {
            return height;
        }
        public bool isActive()
        {
            return active;
        }

        public void setTexture(Texture2D texture)
        {
            this.texture = texture;
        }
        public void setPosition(Vector2 position)
        {
            this.position = position;
        }
        public void setWidth(int width)
        {
            this.width = width;
        }
        public void setHeight(int height)
        {
            this.height = height;
        }
        public void setActive(bool active)
        {
            this.active = active;
        }
    }
}
